-- GENERATED SPELL FOR [Moonrage Watcher] --


function spell0_1892(pUnit, Event) --@Transformation,Self--
pUnit:FullCastSpellOnTarget(7671,pUnit)
pUnit:RegisterEvent('Sorts_1892', 661, 1)
end

function Sorts_1892(pUnit, Event)
local choix_sorts_1892 = math.random(0, 0)
if choix_sorts_1892 == 0 then
pUnit:RegisterEvent('spell0_1892', 1, 1)
end
end

function mob1892_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1892', math.random(1500, 3000), 1)
end

function mob1892_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1892_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1892_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1892, 1, 'mob1892_Action')
RegisterUnitEvent(1892, 2, 'mob1892_Leave')
RegisterUnitEvent(1892, 3, 'mob1892_Kill')
RegisterUnitEvent(1892, 4, 'mob1892_Die')
